package com.zcyppyh.ddns.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author: zcyppyh
 * @time: 2023/8/16 15:18
 * @version: 1
 * @desc:
 */
@ConfigurationProperties(prefix = "access.key")
public class AliAccess {

    private String id;
    private String secret;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    @Override
    public String toString() {
        return "AliAccess{" +
                "id='" + id + '\'' +
                ", secret='" + secret + '\'' +
                '}';
    }
}
